#include <iostream>
#include <vector>
#include <string>

// 简单的调试演示函数
void debug_demo() {
    std::cout << "=== Debug Demo ===" << std::endl;

    // 创建一些变量用于调试
    int number = 42;
    std::string text = "Hello, Debug!";
    std::vector<int> numbers = {1, 2, 3, 4, 5};

    // 在这里设置断点来观察变量
    std::cout << "Number: " << number << std::endl;
    std::cout << "Text: " << text << std::endl;

    // 循环遍历向量
    std::cout << "Vector contents: ";
    for (size_t i = 0; i < numbers.size(); ++i) {
        std::cout << numbers[i];
        if (i < numbers.size() - 1) {
            std::cout << ", ";
        }
    }
    std::cout << std::endl;

    // 修改变量值
    number *= 2;
    text += " (Modified)";
    numbers.push_back(6);

    std::cout << "After modification:" << std::endl;
    std::cout << "Number: " << number << std::endl;
    std::cout << "Text: " << text << std::endl;
    std::cout << "Vector size: " << numbers.size() << std::endl;
}

int main() {
    std::cout << "Starting debug demonstration..." << std::endl;

    debug_demo();

    std::cout << "Debug demonstration completed." << std::endl;
    return 0;
}



